import { Controller, Get, Query } from '@nestjs/common';
import { LogService } from './log.service';
import { GetLogPageDto } from './log.dto'

@Controller('admin/log')
export class LogController {
  constructor(private readonly logService: LogService) { }

  @Get()
  getLogPage(@Query() getLogPageDto: GetLogPageDto) {
    return this.logService.getLogPage(getLogPageDto);
  }
}
